<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <link rel="shortcut icon" href="#" />
    <link rel="stylesheet" type="text/css" href="{{pluResPath}}html/roleBag/roleBag.css"/>
    <link rel="preload" href="{{resPath}}/font/tttgbnumber.ttf" as="font">
    <link rel="preload" href="{{pluResPath}}img/other/bg5.png" as="image">
    <link rel="preload" href="{{pluResPath}}img/other/bg4.png" as="image">
    <link rel="preload" href="{{pluResPath}}img/other/bg105.png" as="image">
  </head>
  <body {{ if list.length<=8}}class="list8"{{/if}}>
    <style></style>
    <div class="container" id="container">
      <div class="main_box">
        <div class="base_info">
          <div class="uid">ID: {{uid}}</div>
        </div>
        <div class="item_box">
          {{each list val}}
          <div class="item">
            <div class="role_box">
              {{ if val.actived_constellation_num>0}}
              <span class="life life{{val.actived_constellation_num}}"> {{val.actived_constellation_num}}命</span>
              {{/if}}
              <div class="bg{{val.rarity}}"></div>
              <img class="role_img" src="{{pluResPath}}img/role/{{val.name}}{{val.costumesLogo}}.png" onerror="whenError(this)" />
              <div class="desc">Lv.{{val.level}}</div>
            </div>
            <div class="text_box">
              <div class="weapon_box">
                <div class="weapon_boder">
                  <img class="weapon_img" src="{{pluResPath}}img/weapon/{{val.weapon.name}}.png" />
                </div>
              </div>
              <div class="weapon_name_box">
                <div class="weapon_name">{{val.weapon.showName}}</div>
                <div class="weapon_level">
                  Lv.{{val.weapon.level}}{{ if val.weapon.affix_level>1}}<span class="weapon_affix">{{val.weapon.affix_level}}</span>{{/if}}
                </div>
              </div>
            </div>
          </div>
          {{/each}}
        </div>
      </div>
    </div>
  </body>
  <script type="text/javascript">
    function whenError(a) {
      // a.onerror = null;
      // a.src = "{{pluResPath}}img/logo/role/荧.png";
    }
  </script>
</html>
